OOMK kills mysql and apache when there is still a lot[?] of mem
Posted
by
Flyer
on Server Fault
See other posts from Server Fault
or by Flyer
Published on 2012-11-01T15:52:13Z
Indexed on
2012/11/01
17:03 UTC
Read the original article
Hit count: 178
let me first say that I'm pretty new ti *nix systems and even more to server management. Anyway, I've got a little problem. I got VPS with 1gb mem, system is debian 6. I have few sites running on it, though some load can only be caused by one of them. Recently, OOMK started to kill mysql, causing wp and phpbb giving error that it can't connect to mysql server. Error itself is not good, especially if it happens at night and site becomes unavailable until I wake up and restart mysql. I have probably bad line in my cron which can be cause of it all (again, I'm new to it)
*/20 * * * * sync; echo 3 > /proc/sys/vm/drop_caches
Well, if you need any information, let me know, since I don't really know which information can be useful here. Also, I'd like to know if it's not too bad to have above cron task.
© Server Fault or respective owner